//
// Created by andrew on 2022/5/19.
//
#include <iostream>

#include <vector>
#include <list>
#include <map>
#include <set>
#include <unistd.h>

using namespace std;


class MsgData {
public:
    friend int GetData(MsgData d) {
        return d.data;
    }




private:
    int data = 12;

};

enum CRcmWorkQueueType : uint32_t  {
    CRcmWorkQueueTypeUnknown    = 0,        // 未知类型
    CRcmWorkQueueTypeIpcServer  = 1,        // Ipc通讯服务端
    CRcmWorkQueueTypeIpcClient  = 2,        // Ipc通讯客户端
};


struct CRcmWorkQueue {
    uint32_t type;
    union {
        // 不同类型有不同的数据结构
        struct {

        };
    };


};




struct Data {
    char buff[1024];
    void * lpData;
};




int main(int argc, char **argv) {


    // 函数名字 +
    Data data;







    std::string name  = ";;;;;";



    return 0;
}

